Vcenter VmTemplate LibraryItems TagSpec

Vcenter VmTemplate LibraryItems TagSpec
Vcenter VmTemplate LibraryItems TagSpec

The Vcenter VmTemplate LibraryItems TagSpec schema contains information required to attach a tag while deploying a VM.

Represents a tag specification with optional Cis Tagging Tag and/or Vcenter VmTemplate LibraryItems TagNameSpec. The Cis Tagging Tag should already exist in vSphere, otherwise VM deployment will fail.

This schema was added in vSphere API 9.1.0.0.

JSON Example
{
    "tag_id": "string",
    "tag_name_spec": {
        "tag_name": "string",
        "category_name": "string"
    }
}
string
tag_id
Optional

The tag identifier of the vSphere tag. If this field is specified in addition to Vcenter VmTemplate LibraryItems TagSpec.tag_name_spec, then both tagId and Vcenter VmTemplate LibraryItems TagSpec.tag_name_spec must belong to the same vSphere tag.

This property was added in vSphere API 9.1.0.0.

If missing or null, then Vcenter VmTemplate LibraryItems TagSpec.tag_name_spec must be specified.

tag_name_spec
Optional

Information about the name of the tag. If this field is specified in addition to Vcenter VmTemplate LibraryItems TagSpec.tag_id, then both Vcenter VmTemplate LibraryItems TagSpec.tag_id and tagNameSpec must belong to the same vSphere tag.

This property was added in vSphere API 9.1.0.0.

If missing or null, then Vcenter VmTemplate LibraryItems TagSpec.tag_id must be specified.